package cn.bx.bid.ctrl;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
@Controller
public class HelloController {

    @RequestMapping("/sayHi")
    public String say(HttpServletRequest request){
        request.setAttribute("msg","上午好，spring mvc，当前时间是："+new java.util.Date());
        return "hello";
    }
}
